package com.example.ethereum.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "合约部署请求")
@Data
public class ContractDeployRequest {
    
    @ApiModelProperty(value = "代币名称", example = "MyToken", required = true)
    private String name;
    
    @ApiModelProperty(value = "代币符号", example = "MTK", required = true)
    private String symbol;
    
    @ApiModelProperty(value = "小数位数", example = "18", required = true)
    private Integer decimals;
    
    @ApiModelProperty(value = "初始供应量", example = "1000000", required = true)
    private Long initialSupply;
}

